	function update_message( message_id ){
		var ajaxRequest;  // The variable that makes Ajax possible!

		ajaxRequest = new XMLHttpRequest();

		// Create a function that will receive data sent from the server
		ajaxRequest.onreadystatechange = function(){
			if(ajaxRequest.readyState == 4){
					// Refresh the page is login is successful
				if(ajaxRequest.responseText.length == ""){
					window.location.reload();
				}
			}
		}
		
		var queryString = "?message_id=" + message_id + "&mode=update";
		ajaxRequest.open("GET", "../handle/update_message_ajax.php" + queryString, true);
		ajaxRequest.send(null); 
	}